package com.bdqn.vueboot.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
public class HelloController {

    @RequestMapping("/hello")
    public Object sayHello(String name) {
        System.out.println("1111111111111");
        return "Hello " + name;
    }
}
